package com.cms.admin.service.common;

import com.cms.admin.model.DepartmentList;
import com.cms.admin.model.DepartmentListExt;

import java.util.List;

/**
 * Created by YYY-Work on 2017/4/27.
 */
public interface DepartmentService {

    List<DepartmentList> getAllDepartmentList();
    List<DepartmentList> getDepartmentListByName(DepartmentListExt example);
    List<DepartmentList> getDepartmentListById(DepartmentListExt example);
    List<DepartmentList> queryDepartmentList(DepartmentListExt example);
    int saveDepartmentList(DepartmentListExt record);
    int updateDepartmentList(DepartmentListExt record);
}
